doctype html
html
  head
    meta(charset='utf-8')
    meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
    meta(name='viewport', content='width=device-width')
    title OpenSOC - Login
    link(rel='stylesheet', href='css/bootstrap.dark.min.css', title='Dark')
    link(rel='stylesheet', href='css/timepicker.css')
    link(rel='stylesheet', href='css/animate.min.css')
    link(rel='stylesheet', href='css/normalize.min.css')
    style.
      .login-form {
        margin-top: 60px;
        border: 1px solid #666;
        padding: 20px;
      }

      td.count {
        background-color: #ee0000;
      }
  body
    noscript
      .container
        center
          h3 You must enable javascript to use Kibana
    link(rel='stylesheet', href='css/bootstrap.dark.min.css')
    link(rel='stylesheet', href='css/bootstrap-responsive.min.css')
    link(rel='stylesheet', href='css/font-awesome.min.css')
    .container-fluid
      .row-fluid
        .span6.offset3
          form.form-horizontal.login-form(action='/login', method='POST')
            fieldset
              legend Login
              if flash.error
                .alert.alert-error=flash.error
              div(class="#{flash.error ? 'control-group error' : 'control-group'}")
                label.control-label(for='inputEmail') Email
                .controls
                  input#inputEmail(type='text', name='email', placeholder='Email')

              div(class="#{flash.error ? 'control-group error' : 'control-group'}")
                label.control-label(for='inputPassword') Password
                .controls
                  input#inputPassword(type='password', name='password', placeholder='Password')
              .control-group
                .controls
                  button.btn(type='submit') Sign in
    // <div ng-cloak ng-view></div>
